package com.plateno.init;

import javax.annotation.PostConstruct;

import org.springframework.stereotype.Component;

import com.plateno.service.SensitiveWordInitService;
import com.plateno.util.SpringUtils;

/**
 * 初始化启动
 * @author 
 *
 */
@Component
public class ThreadInit {
	

	@PostConstruct
	public void init() {
		//敏感词初始化（存放在内存中）
		SensitiveWordInitService sensitiveWordInitService = SpringUtils.getBean(SensitiveWordInitService.class);
		sensitiveWordInitService.loadKeyWord();
		
	}
	
}
